package com.gjs.intranet.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
@Data
@ApiModel("LibraryBook查询对象")
public class LibraryBookQueryDTO {

    @Min(value = 1,message = "图书ID必须为整数且不能小于1")
    @ApiModelProperty("图书ID")
    private Long id;

    @ApiModelProperty("ISBN")
    private String isbn;

}
